package com.xxx.yuedong.campaign.db.dao;

import com.xxx.yuedong.campaign.pojo.Collect;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author hc
 * @date 2023/08/28 22:39
 **/

@Repository(value = "collect")
public interface CollectDao {
    public int insert(Collect collect);

    public ArrayList<HashMap> searchCourseCollect(Long userId);

    public ArrayList<HashMap> searchPlanCollect(Long userId);
}
